package com.hbx.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/*
 * @Author:hbx
 * 
 * */
@Data
@ConfigurationProperties(prefix = "es")
@Component
public class EsProperties {
    /**
     * 主机
     */
    private String host;
    /**
     * 端口
     */
    private Integer port;

    private String username;

    private String password;
}
